import {MC_MANAGE_AXIOS} from "./axios.js";


export function listByEmpId(empId){
    return MC_MANAGE_AXIOS.get(`menu/listByEmpId/${empId}`)
}

export function listByRoleIdApi(roleId){
    return MC_MANAGE_AXIOS.get(`menu/listByRoleId/${roleId}`)
}

export function updateByRoleIdApi(roleId, menuIds){
    return MC_MANAGE_AXIOS.post(`menu/updateByRoleId/${roleId}`, menuIds)
}
